#define  _CRT_SECURE_NO_WARNINGS
#include"Heap.h"

int main(){
	HP hp;
	int a[] = { 9,8,7,6,5,4,3,2,1,0 };
	HeapInit(&hp);
	HeapInitArray(&hp, a, 10);
	HeapPush(&hp, 11);
	HeapSort(hp.a, hp.size);
	HeapPrint(&hp);
	return 0;
}